#include <QtWidgets>
#include "HComponent.h"

class HMessagePanel : public HMoveableWidget
{
    Q_OBJECT
public:
    HMessagePanel(QWidget *parent = 0);
    ~HMessagePanel();

    void                     setText(QString strText);

protected:
	void                     paintEvent(QPaintEvent *event);

private:
    void                     initStyle();

private:
    QPushButton              *m_ppbOK;
    QLabel                   *m_plblText;
    QVBoxLayout              *m_pvblMain;
    QString                  m_strText;

};
